<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>videojs支持hls直播实例</title>
    <link href="./css/video-js.css" rel="stylesheet" />
</head>

<body>
    <video muted="muted" id=example-video width=600 height=300 class="video-js vjs-default-skin" controls>
        <!-- <source src="https://uat-file-hls.trialos.com/resources/hls/8ae780817ac3205d017ac6de80d80002/8ae780817ac3205d017ac6de80d80002_720p.m3u8" type="application/x-mpegURL"> -->
         <source src="https://uat-file-hls.trialos.com/resources/test/test.m3u8" type="application/x-mpegURL">
    </video>
    <script src="./js/video.min.js"></script>
    <script src="./js/videojs-http-streaming.min.js"></script>
    <script>
        var player = videojs('example-video');
        player.play();
    </script>
</body>

</html>